package com.itheima.demo05;

/**
 * @author Zhang_Han
 * @version 1.0
 * @date 2020/7/13 18:50
 */
public class Demo_003 {
    public static void main(String[] args) {
       Ticket_003 t = new Ticket_003();
       Thread t1 = new Thread(t);
       Thread t2 = new Thread(t);
       t1.setName("窗口一");
       t2.setName("窗口二");
       t1.start();
       t2.start();
    }
}
